﻿using Sys.Core.Sys;
using Sys.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Sys.Controls
{
    public class Settings : WebControl
    {
        protected override void Render(HtmlTextWriter wt)
        {
            wt.Write(CreateHtml());
        }

        public string group { get; set; }

        public string tag { get; set; }

        public string CreateHtml()
        {
            return SettingBll.I.GetContent(group, tag);
        }
    }
}
